<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>

<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
System.out.println(basePath);
%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <base href="<%=basePath%>">
    <title>RBAC</title>
	 <meta charset="utf-8">
    <title>权限管理系统</title>
    <meta name="viewport" content="width=device-width, initial-scale=1">
    <meta name="description" content="RBAC">
    <meta name="author" content="LAM & WXL">

    <!-- The styles -->
    <link id="bs-css"  href="resource/css/bootstrap-cerulean.min.css" rel="stylesheet">  
    <link  href="resource/css/bootstrap-cerulean.min.css" rel="stylesheet">

    <link href="resource/css/charisma-app.css" rel="stylesheet">
    <link href='resource/bower_components/fullcalendar/dist/fullcalendar.css' rel='stylesheet'>
    <link href='resource/bower_components/fullcalendar/dist/fullcalendar.print.css' rel='stylesheet' media='print'>
    <link href='resource/bower_components/chosen/chosen.min.css' rel='stylesheet'>
    <link href='resource/bower_components/colorbox/example3/colorbox.css' rel='stylesheet'>
    <link href='resource/bower_components/responsive-tables/responsive-tables.css' rel='stylesheet'>
    <link href='resource/bower_components/bootstrap-tour/build/css/bootstrap-tour.min.css' rel='stylesheet'>
    <link href='resource/css/jquery.noty.css' rel='stylesheet'>
    <link href='resource/css/noty_theme_default.css' rel='stylesheet'>
    <link href='resource/css/elfinder.min.css' rel='stylesheet'>
    <link href='resource/css/elfinder.theme.css' rel='stylesheet'>
    <link href='resource/css/jquery.iphone.toggle.css' rel='stylesheet'>
    <link href='resource/css/uploadify.css' rel='stylesheet'>
    <link href='resource/css/animate.min.css' rel='stylesheet'>
	<link href='resource/css/ui-dialog.css' rel='stylesheet'>
    <!-- jQuery -->
    <script src="resource/bower_components/jquery/jquery.min.js"></script>
<!-- 	<script>
    $(function () {
        $('.ajax-link').click(function () {
            $('#content').load(this.href);
            return false; //禁止跳转
        });
    });
	</script> -->
    <!-- The HTML5 shim, for IE6-8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
    <![endif]-->

    <!-- The fav icon -->
    <link rel="shortcut icon" href="resource/img/favicon.ico">

	
  </head>
  
  <body>
     <!-- topbar starts -->
    <div class="navbar navbar-default" role="navigation">

        <div class="navbar-inner">
            <button type="button" class="navbar-toggle pull-left animated flip">
                <span class="sr-only">Toggle navigation</span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
                <span class="icon-bar"></span>
            </button>
            <a class="navbar-brand" href="index.html"> <img alt="Charisma Logo" src="resource/img/logo20.png" class="hidden-xs"/>
                <span>权限管理系统</span></a>

            <!-- user dropdown starts -->
            <div class="btn-group pull-right">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-user"></i><span class="hidden-sm hidden-xs"> admin</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu">
                    <li><a href="#">Profile</a></li>
                    <li class="divider"></li>
                    <li><a href="login.html">退出登录</a></li>
                </ul>
            </div>
            <!-- user dropdown ends -->

            <!-- theme selector starts -->
            <div class="btn-group pull-right theme-container animated tada">
                <button class="btn btn-default dropdown-toggle" data-toggle="dropdown">
                    <i class="glyphicon glyphicon-tint"></i><span
                        class="hidden-sm hidden-xs">更改主题/ 皮肤</span>
                    <span class="caret"></span>
                </button>
                <ul class="dropdown-menu" id="themes">
                    <li><a data-value="classic" href="#"><i class="whitespace"></i> Classic</a></li>
                    <li><a data-value="cerulean" href="#"><i class="whitespace"></i> Cerulean</a></li>
                    <li><a data-value="cyborg" href="#"><i class="whitespace"></i> Cyborg</a></li>
                    <li><a data-value="simplex" href="#"><i class="whitespace"></i> Simplex</a></li>
                    <li><a data-value="darkly" href="#"><i class="whitespace"></i> Darkly</a></li>
                    <li><a data-value="lumen" href="#"><i class="whitespace"></i> Lumen</a></li>
                    <li><a data-value="slate" href="#"><i class="whitespace"></i> Slate</a></li>
                    <li><a data-value="spacelab" href="#"><i class="whitespace"></i> Spacelab</a></li>
                    <li><a data-value="united" href="#"><i class="whitespace"></i> United</a></li>
                </ul>
            </div>
            <!-- theme selector ends -->

            <ul class="collapse navbar-collapse nav navbar-nav top-menu">
                <li><a href="#"><i class="glyphicon glyphicon-globe"></i> Visit Site</a></li>
                <li class="dropdown">
                    <a href="#" data-toggle="dropdown"><i class="glyphicon glyphicon-star"></i> 下拉菜单 <span
                            class="caret"></span></a>
                    <ul class="dropdown-menu" role="menu">
                        <li><a href="#">测试</a></li>
                        <li><a href="#">测试 </a></li>
                        <li><a href="#">测试e</a></li>
                        <li class="divider"></li>
                        <li><a href="#">Separated link</a></li>
                        <li class="divider"></li>
                        <li><a href="#">One more separated link</a></li>
                    </ul>
                </li>
                <li>
                    <form class="navbar-search pull-left">
                        <input placeholder="Search" class="search-query form-control col-md-10" name="query"
                               type="text">
                    </form>
                </li>
            </ul>

        </div>
    </div>
    <!-- topbar ends -->
    
<div class="ch-container">
    <div class="row">
        
        <!-- left menu starts -->
        	<s:action name="indexMenuList!indexMenuList" executeResult="true" ignoreContextParams="true" namespace="/admin">
			  </s:action>
        <!--/span-->
        <!-- left menu ends -->

        <noscript>
            <div class="alert alert-block col-md-12">
                <h4 class="alert-heading">Warning!</h4>

                <p>You need to have <a href="http://en.wikipedia.org/wiki/JavaScript" target="_blank">JavaScript</a>
                    enabled to use this site.</p>
            </div>
        </noscript>

        <div id="content" class="col-lg-10 col-sm-10">
        
			
		<!--  content here-->	
				<s:debug></s:debug>
    		<!-- content ends -->
    </div><!--/#content.col-md-0-->
</div><!--/fluid-row-->

  
    <hr>

    <div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel"
         aria-hidden="true">

        <div class="modal-dialog">
            <div class="modal-content">
                <div class="modal-header">
                    <button type="button" class="close" data-dismiss="modal">×</button>
                    <h3>Settings</h3>
                </div>
                <div class="modal-body">
                    <p>Here settings can be configured...</p>
                </div>
                <div class="modal-footer">
                    <a href="#" class="btn btn-default" data-dismiss="modal">Close</a>
                    <a href="#" class="btn btn-primary" data-dismiss="modal">Save changes</a>
                </div>
            </div>
        </div>
    </div>

    <footer class="row">
        <p class="col-md-9 col-sm-9 col-xs-12 copyright">&copy; <a href="http://usman.it" target="_blank">LAM</a> 2012 - 2014</p>

        <p class="col-md-3 col-sm-3 col-xs-12 powered-by">Powered by: <a
                href="http://usman.it/free-responsive-admin-template">LAM</a></p>
    </footer>

</div><!--/.fluid-container-->

<!-- external javascript -->

   <link href='resource/css/ui-dialog.css' rel='stylesheet'>
<script src="resource/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>

<!-- library for cookie management -->
<script src="resource/js/jquery.cookie.js"></script>
<!-- calender plugin -->
<script src='resource/bower_components/moment/min/moment.min.js'></script>
<script src='resource/bower_components/fullcalendar/dist/fullcalendar.min.js'></script>
<!-- data table plugin -->
<script src='resource/js/jquery.dataTables.min.js'></script>

<!-- select or dropdown enhancer -->
<script src="resource/bower_components/chosen/chosen.jquery.min.js"></script>
<!-- plugin for gallery image view -->
<script src="resource/bower_components/colorbox/jquery.colorbox-min.js"></script>
<!-- notification plugin -->
<script src="resource/js/jquery.noty.js"></script>
<!-- library for making tables responsive -->
<script src="resource/bower_components/responsive-tables/responsive-tables.js"></script>
<!-- tour plugin -->
<script src="resource/bower_components/bootstrap-tour/build/js/bootstrap-tour.min.js"></script>
<!-- star rating plugin -->
<script src="resource/js/jquery.raty.min.js"></script>
<!-- for iOS style toggle switch -->
<script src="resource/js/jquery.iphone.toggle.js"></script>
<!-- autogrowing textarea plugin -->
<script src="resource/js/jquery.autogrow-textarea.js"></script>
<!-- multiple file upload plugin -->
<script src="resource/js/jquery.uploadify-3.1.min.js"></script>
<!-- history.js for cross-browser state change on ajax -->
<script src="resource/js/jquery.history.js"></script>
<!-- application script for Charisma demo -->
<script src="resource/js/charisma.js"></script>
<!-- jquery form -->
<script src="resource/js/myJs.js"></script>
<script src="resource/js/utils.js"></script>
<script src="resource/js/common.js"></script>
<script src="resource/js/jquery.form.js"></script>
<!-- jquery form -->
<script src="resource/js/dialog-min.js"></script>
 </body>
</html>
